package cn.com.duiba.millionaire.center.api.remoteservice;

import cn.com.duiba.boot.netflix.feign.AdvancedFeignClient;
import cn.com.duiba.millionaire.center.api.enums.AppConfigProNameEnum;

import java.util.List;

/**
 * Created by sunchangji on 2018/2/24.
 */
@AdvancedFeignClient
public interface RemoteMillionaireAppConfigService {
    
    List<Long> findAppIdByPropName(AppConfigProNameEnum proNameEnum);


    /**
     * 批量新增
     *
     * @param appIds
     * @param propName
     * @return
     */
    boolean batchInsert(List<Long> appIds,String propName);

    /**
     * 批量删除
     *
     * @param appIds
     * @return
     */
    boolean deleteByIds(List<Long> appIds);

}
